package com.zhong.gang.app.ui.zhuchang.detail;

import com.zhong.gang.applib.bean.MaterialBean;
import com.zhong.gang.applib.ui.matching.MatchingBean;
import java.util.List;

public class ZhuChangDetialBean {

    /**
     * id : 1
     * createTime : 2020-01-19T17:11:39.000+0000
     * updateTime : 2020-01-19T17:11:39.000+0000
     * version : 0
     * deleted : false
     * createTimestamp : 1579453899000
     * updateTimestamp : 1579453899000
     * endLocalId : 10
     * consignorId : 1
     * sn : ZCJD-20200120011139180
     * contractId : 1
     * grossWeight : 100
     * tareWeight : 1
     * slagWeight : 0
     * finalWeight : 99
     * finalAmount : 1100
     * poundOrderPhoto : http://zgtrade.oss-cn-zhangjiakou.aliyuncs.com/files/6tl0nup7tn6wayj5c6le.png
     * qualityPhoto :
     * qualityResult : false
     * upDownType : 1
     * upDownMoney : 100
     * steelMill : {"id":10,"createTime":"2019-12-27T02:54:58.000+0000","updateTime":"2019-12-27T02:54:58.000+0000","version":0,"deleted":false,"createTimestamp":1577415298000,"updateTimestamp":1577415298000,"name":"重刚","addr":"重庆江北"}
     * consignor : {"consignor":{"id":1,"createTime":"2019-12-18T06:29:41.000+0000","updateTime":"2019-12-18T06:29:41.000+0000","version":0,"deleted":false,"createTimestamp":1576650581000,"updateTimestamp":1576650581000,"phone":"18580408661","name":"袁贵权","saltValue":"7564bc19c99a4728a4fe98bb82b9537d","password":"7564bc19c99a4728a4fe98bb82b9537d6457ba86582591c621c44cd737c93ad3","token":"token_E487A9DB0E7D44B28A79DD2C5746C318","qrcodeUrl":"http://zgtrade.oss-cn-zhangjiakou.aliyuncs.com/files/6tl0nup7tn6wayj5c6le.png","steelMillId":0,"materialYardId":0,"roleId":3},"consignorBankCard":null}
     * contract : {"id":1,"createTime":"2020-01-13T15:07:10.000+0000","updateTime":"2020-01-13T15:07:10.000+0000","version":0,"deleted":false,"createTimestamp":1578928030000,"updateTimestamp":1578928030000,"steelMillId":10,"sn":"合同编号1","steelMillName":"重刚","contractMaterialTypes":[{"id":1,"createTime":"2020-01-13T15:07:10.000+0000","updateTime":"2020-01-13T15:07:10.000+0000","version":0,"deleted":false,"createTimestamp":1578928030000,"updateTimestamp":1578928030000,"contractId":1,"materialTypeId":1,"contractWeight":0,"contractPrice":0,"completeWeight":0,"completePercent":0,"onWayWeight":0,"contractSn":"合同编号1","steelMillName":"重刚","materialTypeName":"重废一"}]}
     */

    private int id;
    private String createTime;
    private String updateTime;
    private int version;
    private boolean deleted;
    private long createTimestamp;
    private long updateTimestamp;
    private int endLocalId;
    private int consignorId;
    private String sn;
    private int contractId;
    private double grossWeight;
    private double tareWeight;
    private double slagWeight;
    private double finalWeight;
    private double finalAmount;
    private String poundOrderPhoto;
    private String qualityPhoto;
    private boolean qualityResult;
    private int upDownType;
    private double upDownMoney;
    private SteelMillBean steelMill;
    private MatchingBean consignor;
    private ContractBean contract;
    private List<MaterialBean> orderMaterialTypeDetailList;

    public List<MaterialBean> getOrderMaterialTypeDetailList() {
        return orderMaterialTypeDetailList;
    }

    public void setOrderMaterialTypeDetailList(List<MaterialBean> orderMaterialTypeDetailList) {
        this.orderMaterialTypeDetailList = orderMaterialTypeDetailList;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public long getCreateTimestamp() {
        return createTimestamp;
    }

    public void setCreateTimestamp(long createTimestamp) {
        this.createTimestamp = createTimestamp;
    }

    public long getUpdateTimestamp() {
        return updateTimestamp;
    }

    public void setUpdateTimestamp(long updateTimestamp) {
        this.updateTimestamp = updateTimestamp;
    }

    public int getEndLocalId() {
        return endLocalId;
    }

    public void setEndLocalId(int endLocalId) {
        this.endLocalId = endLocalId;
    }

    public int getConsignorId() {
        return consignorId;
    }

    public void setConsignorId(int consignorId) {
        this.consignorId = consignorId;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public int getContractId() {
        return contractId;
    }

    public void setContractId(int contractId) {
        this.contractId = contractId;
    }

    public double getGrossWeight() {
        return grossWeight;
    }

    public void setGrossWeight(double grossWeight) {
        this.grossWeight = grossWeight;
    }

    public double getTareWeight() {
        return tareWeight;
    }

    public void setTareWeight(double tareWeight) {
        this.tareWeight = tareWeight;
    }

    public double getSlagWeight() {
        return slagWeight;
    }

    public void setSlagWeight(double slagWeight) {
        this.slagWeight = slagWeight;
    }

    public double getFinalWeight() {
        return finalWeight;
    }

    public void setFinalWeight(double finalWeight) {
        this.finalWeight = finalWeight;
    }

    public double getFinalAmount() {
        return finalAmount;
    }

    public void setFinalAmount(int finalAmount) {
        this.finalAmount = finalAmount;
    }

    public String getPoundOrderPhoto() {
        return poundOrderPhoto;
    }

    public void setPoundOrderPhoto(String poundOrderPhoto) {
        this.poundOrderPhoto = poundOrderPhoto;
    }

    public String getQualityPhoto() {
        return qualityPhoto;
    }

    public void setQualityPhoto(String qualityPhoto) {
        this.qualityPhoto = qualityPhoto;
    }

    public boolean isQualityResult() {
        return qualityResult;
    }

    public void setQualityResult(boolean qualityResult) {
        this.qualityResult = qualityResult;
    }

    public int getUpDownType() {
        return upDownType;
    }

    public void setUpDownType(int upDownType) {
        this.upDownType = upDownType;
    }

    public double getUpDownMoney() {
        return upDownMoney;
    }

    public void setUpDownMoney(double upDownMoney) {
        this.upDownMoney = upDownMoney;
    }

    public SteelMillBean getSteelMill() {
        return steelMill;
    }

    public void setSteelMill(SteelMillBean steelMill) {
        this.steelMill = steelMill;
    }

    public MatchingBean getConsignor() {
        return consignor;
    }

    public void setConsignor(MatchingBean consignor) {
        this.consignor = consignor;
    }

    public ContractBean getContract() {
        return contract;
    }

    public void setContract(ContractBean contract) {
        this.contract = contract;
    }

    public static class SteelMillBean {
        /**
         * id : 10
         * createTime : 2019-12-27T02:54:58.000+0000
         * updateTime : 2019-12-27T02:54:58.000+0000
         * version : 0
         * deleted : false
         * createTimestamp : 1577415298000
         * updateTimestamp : 1577415298000
         * name : 重刚
         * addr : 重庆江北
         */

        private int id;
        private String createTime;
        private String updateTime;
        private int version;
        private boolean deleted;
        private long createTimestamp;
        private long updateTimestamp;
        private String name;
        private String addr;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public long getCreateTimestamp() {
            return createTimestamp;
        }

        public void setCreateTimestamp(long createTimestamp) {
            this.createTimestamp = createTimestamp;
        }

        public long getUpdateTimestamp() {
            return updateTimestamp;
        }

        public void setUpdateTimestamp(long updateTimestamp) {
            this.updateTimestamp = updateTimestamp;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAddr() {
            return addr;
        }

        public void setAddr(String addr) {
            this.addr = addr;
        }
    }


    public static class ContractBean {
        /**
         * id : 1
         * createTime : 2020-01-13T15:07:10.000+0000
         * updateTime : 2020-01-13T15:07:10.000+0000
         * version : 0
         * deleted : false
         * createTimestamp : 1578928030000
         * updateTimestamp : 1578928030000
         * steelMillId : 10
         * sn : 合同编号1
         * steelMillName : 重刚
         * contractMaterialTypes : [{"id":1,"createTime":"2020-01-13T15:07:10.000+0000","updateTime":"2020-01-13T15:07:10.000+0000","version":0,"deleted":false,"createTimestamp":1578928030000,"updateTimestamp":1578928030000,"contractId":1,"materialTypeId":1,"contractWeight":0,"contractPrice":0,"completeWeight":0,"completePercent":0,"onWayWeight":0,"contractSn":"合同编号1","steelMillName":"重刚","materialTypeName":"重废一"}]
         */

        private int id;
        private String createTime;
        private String updateTime;
        private int version;
        private boolean deleted;
        private long createTimestamp;
        private long updateTimestamp;
        private int steelMillId;
        private String sn;
        private String steelMillName;
        private List<MaterialBean> contractMaterialTypes;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public long getCreateTimestamp() {
            return createTimestamp;
        }

        public void setCreateTimestamp(long createTimestamp) {
            this.createTimestamp = createTimestamp;
        }

        public long getUpdateTimestamp() {
            return updateTimestamp;
        }

        public void setUpdateTimestamp(long updateTimestamp) {
            this.updateTimestamp = updateTimestamp;
        }

        public int getSteelMillId() {
            return steelMillId;
        }

        public void setSteelMillId(int steelMillId) {
            this.steelMillId = steelMillId;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getSteelMillName() {
            return steelMillName;
        }

        public void setSteelMillName(String steelMillName) {
            this.steelMillName = steelMillName;
        }

        public List<MaterialBean> getContractMaterialTypes() {
            return contractMaterialTypes;
        }

        public void setContractMaterialTypes(List<MaterialBean> contractMaterialTypes) {
            this.contractMaterialTypes = contractMaterialTypes;
        }

    }
}
